<template>
  <div class="screen-body">
    <section class="screen-left">
      <div id="left-top" class="left-top" v-for="max in artifactListMax" :key="max.id">
        <div class="artifact-images">
          <div class="img-div">
            <img :src=max.src class="img" alt=""/>
          </div>
        </div>
        <div class="artifact-properties">
          <ul class="properties-value">
            <li v-for="art in max.words" :key="art.id">
              {{ art.text }}
            </li>
          </ul>

        </div>
      </div>

      <div id="left-bottom" class="left-bottom" v-for="except in suitExpect" :key="except.id">

        <div class="artifact-images">
          <div class="img-div">
            <img :src=except.src class="img" alt=""/>
          </div>
        </div>
        <div class="artifact-properties">
          <ul class="properties-value">
            <li v-for="art in except.words" :key="art.id">
              {{ art.text }}
            </li>
          </ul>
        </div>
      </div>
    </section>
    <section class="screen-middle">
      <div class="com-page">
        <trend></trend>
      </div>
    </section>
  </div>
</template>

<script>
import Trend from '@/components/Trend'

export default {
  data() {
    return {
      artifactListMax: [],
      suitExpect: [],
    }
  },
  methods: {},
  components: {
    trend: Trend
  }
}
</script>

<style lang="less" scoped>
.screen-body {
  width: 100%;
  height: 100%;
  display: flex;
  margin-top: 10px;

  .screen-left {
    height: 100%;
    width: 15%;
    .left-top {
      height: 10%;
      position: relative;
      display: flex;
      background-color: rgba(44, 110, 255, 0.5);
    }

    .artifact-images {
      height: 100%;
      width: 20%;

      .img-div {
        margin-top: 0.3%;
        .img {
          height: 100%;
          width: 100%;
        }
      }
    }

    .artifact-properties {
      height: 100%;
      width: 75%;
      margin-left: 1.5%;

      .properties-value {
        height: 19.5%;
        width: 100%;
        margin-top: 0.5%;
        font-size: 3px;
      }
    }

    .left-bottom {
      height: 10%;
      position: relative;
      display: flex;
      background-color: rgba(11, 168, 44, 0.5)
    }
  }

  .screen-middle {
    height: 100%;
    width: 85%;
    margin-left: 1.6%;
    margin-right: 1.6%;

    #middle-top {
      width: 100%;
      height: 100%;
      position: relative;
    }
  }
}
</style>
